diff options
| author | joonhoekim <26rote@gmail.com> | 2025-10-24 20:01:16 +0900 |
|---|---|---|
| committer | joonhoekim <26rote@gmail.com> | 2025-10-24 20:01:16 +0900 |
| commit | 91bd6946a585f489f0ac0d98a5a1968c6550bee9 (patch) | |
| tree | 1e4d2950b8cd42bdcdf1c94228e0f5ff11a1f904 /app/[lng]/evcp/data-room/[projectId]/files/page.tsx | |
| parent | d4af641e8b7a144b2c61e7b9d68e7918bd46cc1e (diff) | |
(김준회) fix: params (Promixe) 를 await 하도록 비동기 함수로 변경
Diffstat (limited to 'app/[lng]/evcp/data-room/[projectId]/files/page.tsx')
| -rw-r--r-- | app/[lng]/evcp/data-room/[projectId]/files/page.tsx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/app/[lng]/evcp/data-room/[projectId]/files/page.tsx b/app/[lng]/evcp/data-room/[projectId]/files/page.tsx index baac96ad..8e07d2b4 100644 --- a/app/[lng]/evcp/data-room/[projectId]/files/page.tsx +++ b/app/[lng]/evcp/data-room/[projectId]/files/page.tsx @@ -4,10 +4,9 @@ import { FileManager } from '@/components/file-manager/FileManager'; export default async function ProjectFilesPage({ params, }: { - params: { projectId: string }; + params: Promise<{ projectId: string }>; }) { - - const projectId = await params.projectId + const { projectId } = await params; return ( <div className="h-full flex flex-col"> |
